package com.elm_springboot_s.service;

import com.elm_springboot_s.pojo.DeliveryAddress;
import java.util.List;

public interface DeliveryAddressService {
    List<DeliveryAddress> listDeliveryAddressByUserId(Long userId);
    DeliveryAddress getDeliveryAddressById(Integer daId);
    int saveDeliveryAddress(String contactName, Integer contactSex, String contactTel, 
                          String address, Long userId);
    int updateDeliveryAddress(Integer daId, String contactName, Integer contactSex, 
                            String contactTel, String address, Long userId);
    int removeDeliveryAddress(Integer daId);
} 